package com.nengyuan;

import java.util.Date;
import java.util.Scanner;

public class
While01 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        while (true){
            String yy = sc.next();
            System.out.println("2024年7月1号 10:00:00");
           if (yy.equals("n")){
               break;
           }else {
               Date date = new Date();
               System.out.println(date);


           }
            System.out.println("循环操作中~~~ 按n退出循环”5" );










        }
    }
}
